<template>
    <div>
        <svg class="icon" aria-hidden="true">
            <use :xlink:href="`#icon-${iconName}`"></use>
        </svg>
    </div>
</template>

<script setup>
import { defineProps } from 'vue'
defineProps({
  iconName: {
    type: String,
    default: ''
  }
})
</script>

<style scoped>
.icon {
  width: 0.4rem;
  height: 0.4rem;
}
</style>
